//
//  NetworkEngine.h
//  Growth
//
//  Created by 洪波 陈 on 5/29/12.
//  Copyright (c) 2012 MEETStudio. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Reachability.h"
@interface NetworkEngine : NSObject
{
    NetworkStatus hostNetworkStatus;
    NetworkStatus internetNetworkStatus;
    NetworkStatus wifiNetworkStatus;
    
    Reachability* hostReach;
    Reachability* internetReach;
    Reachability* wifiReach;
}

@property (nonatomic, readwrite) NetworkStatus hostNetworkStatus;
@property (nonatomic, readonly) NetworkStatus internetNetworkStatus;
@property (nonatomic, readonly) NetworkStatus wifiNetworkStatus;

+ (NetworkEngine *)sharedNetworkEngine;
- (BOOL)checkNetWorkStatusUnLoading;
- (BOOL)checkNetWorkStatusLoading;
- (BOOL)checkNetWorkStatusWith:(BOOL)showLoading;
@end
